import msgBox from "./msgBox.vue";

const MsgBox=function(Vue){
    const Msg=Vue.extend(msgBox);
    const showMsgBox=function(msg="默认值",showSvg=true){
        let msg1=new Msg();
        msg1.msg=msg;
        msg1.showSvg=showSvg;
        msg1.$mount();
    };
    return showMsgBox;
};

export default MsgBox;